int fact(int n)
{
    if(n==0)
        return 1;
    return fact(n-1)*n;
}

int main()
{
    printf("%d\n",1==fact(0));
    printf("%d\n",1==fact(1));

    printf("%d\n",120==fact(5));



    return 0;
}
